import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;

public class MyRead {
    public static void main(String[] args){
        Reader reader = new FileReader("./reader.txt");
        reader.
       try ( Reader reader = new FileReader("./reader.txt");){
           while (true) {
               int c = reader.read();
               if(c == -1) {
                   break;
               }
               char ch = (char)c;
               System.out.println(ch);
           }
       }catch (IOException e) {
           e.printStackTrace();
       }
    }
}
